<div id="gridInterviewDetailReport">
  <yu-panel title="网格面访明细报表">
    <yu-xform ref="gridInterviewDetailReportInfoSearch" related-table-name="gridInterviewDetailReportTable" form-type="search"
              :custom-search-fn="searchFn">
      <yu-xform-group :column="3">
        <yu-xform-item label="机构名称" placeholder="机构名称" name="gridName" ctype="input"></yu-xform-item>
        <yu-xform-item label="开始日期" placeholder="开始日期" name="startTime" ctype="datepicker" :picker-options="pickerStartOptions"></yu-xform-item>
        <yu-xform-item label="结束日期" placeholder="结束日期" name="endTime" ctype="datepicker" :picker-options="pickerEndOptions"></yu-xform-item>
        <yu-xform-item label="网格员编号" placeholder="网格员编号" ctype="input" name="userNo"></yu-xform-item>
        <yu-xform-item label="网格名称" placeholder="网格名称" ctype="input" name="secondGridName"></yu-xform-item>
        <yu-xform-item label="客户身份证号码" placeholder="客户身份证号码" ctype="input" name="idNum"></yu-xform-item>
      </yu-xform-group>
    </yu-xform>
    <div style="justify-content:space-between;display: flex">
      <div>
        <yu-button type="warning" v-loading="loading"  @click="exportExcel()" >导出数据</yu-button>
      </div>
    </div>
    <div style="height: 30px"></div>
    <yu-xtable ref="gridInterviewDetailReportTable" :base-params="gridInterviewDetailReportData" :data-url="funcDataUrl" request-type="get" row-number style="width: 100%">
      <yu-xtable-column prop="etlDt" label="统计日期" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="gridName" label="机构名称" width="90px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="secondGridName" label="网格名称" width="90px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userNo" label="档案号" width="130px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userName" label="网格员姓名" width="130px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="positions" label="岗位" width="160px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="faceDate" label="面访日期" width="160px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="faceDateAum" label="面访日客户AUM" width="160px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="queryDateAum" label="查询日客户AUM" width="160px" align="center" show-overflow-tooltip></yu-xtable-column>
    </yu-xtable>
  </yu-panel>
</div>
